package com.jinbiao.quasar.model;

import lombok.Data;
import org.sagacity.sqltoy.config.annotation.Column;
import org.sagacity.sqltoy.config.annotation.Entity;

import java.sql.Types;

@Data
@Entity(tableName = "sys_log_operation")
public class SysLogOperation extends BaseModel{
    @Column(name = "operation_username", type = Types.VARCHAR)
    private String operationUsername;
    @Column(name = "operation_ip", type = Types.VARCHAR)
    private String operationIp;
    @Column(name = "operation_method", type = Types.VARCHAR)
    private String operationMethod;
    @Column(name = "operation_api", type = Types.VARCHAR)
    private String operationApi;
    @Column(name = "operation_status", type = Types.BIGINT)
    private Integer operationStatus;
    @Column(name = "operation_body", type = Types.VARCHAR)
    private String operationBody;
}
